package cn.fx.pet.mapper;

import cn.fx.basic.mapper.BaseMapper;
import cn.fx.pet.domain.Pet;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * mapper层
 */
@Component
public interface PetMapper extends BaseMapper<Pet> {

    void onSale(@Param("ids") List<Long> ids,@Param("onsaleTime")  Date date);

    void offSale(@Param("ids")List<Long> ids,@Param("offsaleTime") Date date);
}